﻿using B.X.Rabbit.ErrorCode;
using B.X.Rabbit.Read.Api.DTO;
using MediatR;

namespace B.X.Rabbit.Read.Api.Application.Command.Query
{
    /// <summary>
    /// 
    /// </summary>
    public class QueryCommand:IRequest<ApiResult<ApiPaging<QueryDto>>>
    {
        /// <summary>
        /// 当前登录人编号
        /// </summary>
        public int CurrentUserId { get; set; }
        /// <summary>
        /// 页码
        /// </summary>
        public int PageIndex { get; set; }
        /// <summary>
        /// 每页条数
        /// </summary>
        public int PageSixe { get; set; }
    }
}
